#!/bin/bash

if [[ "$(uname -s)" == "Darwin" ]]; then
	temp_dir="$(mktemp -d)"
	curl -SsL https://gitee.com/hevey88/brew-user/raw/main/Casks/switchkey.rb -o "$temp_dir"/switchkey.rb
	brew install --cask --no-quarantine "$temp_dir"/switchkey.rb
else
	echo "Only for macOS"
fi
